package com.cmc.cloud.cmclink.doc.vo.sovo.sosplitcombinevo;

import com.cmes.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 订舱拆分合并详细记录分页 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 订舱拆分合并详细记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SoSplitCombineDetailPageReqVO extends PageParam {

    @Schema(description = "申请拆分合并ID", example = "31243")
    private Long operationId;

    @Schema(description = "原订舱旧ID", example = "11883")
    private Long soId;

    @Schema(description = "新订舱ID", example = "12635")
    private Long newSoId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
